<!--
  Generated template for the ModalprojectselectPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
    <ion-navbar>
      <ion-buttons start>
        <button ion-button icon-only (click)="doclose()">
          <ion-icon name="arrow-back"></ion-icon>返回
        </button>
      </ion-buttons>
      <ion-title>选择项目</ion-title>
      <ion-buttons end>
          <button ion-button (click)="doneselect()">
            确定
          </button>
        </ion-buttons>
    </ion-navbar>
  </ion-header>
  <ion-content>
    <ion-searchbar (ionInput)="getItems($event)" placeholder="输入名称查询..."></ion-searchbar>
    <ion-item *ngFor="let item of searchQuery">
      <ion-label>
        <div>项目名称：{{item.name}} </div>
        <div>预计所需金额：{{item.price}} 费用分类：{{item.num}}</div>
        <div>申请部门：{{item.departname}} 申请人：{{item.assetBelong}} </div>
        <div>申请时间：{{item.buyDate}} </div>
      </ion-label>
      <ion-checkbox color="dark" [(ngModel)]="item.searched"></ion-checkbox>
    </ion-item>
  </ion-content>
